package com.thinkingstar.iads.datacenter.entity;

import java.io.Serializable;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Table;

import com.thinkingstar.iads.common.entity.AbstractEntites;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/***
 * @ClassName: dc_constant_version 
 * @Description: 数据中心_常量_设计常量集
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Comment("数据中心_常量_设计常量集")
@Table("dc_constant_data")
public class DcProjectDesignConstant extends AbstractEntites implements Serializable{
	
	@Comment("设计常量版本库id")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String constant_version_id;
	
	@Comment("数据类型(常量,代码)")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 10)
	protected String standard_type;
	
	@Comment("数据项代号")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String code_name;
	
	@Comment("数据项中文简称")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String code_cname;
	
	@Comment("上级数据项代号")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String code_parent_name;
	
	@Comment("是否包含代码集")
	@Column
	@ColDefine(type = ColType.BOOLEAN, width = 10)
	protected Boolean has_children;
	
	@Comment("数据项取值")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String code_value;
	
	@Comment("数据项取值单位")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String code_value_unit;
	
	@Comment("数据项默认取值")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String code_default_value;
	
	@Comment("数据项创建人名称")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String code_create_user;
	
	@Comment("备注")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String remark;

}
